package lab02.text37;

/**
 * Created by Administrator on 2017/11/21.
 */
public class Undergraduate extends Student{

    @Override
    String calGrade() {
        double avg=calAverage();
        if (avg>60) {
            grade="通过";
        }else {
            grade="不通过";
        }
        return grade;
    }
}

